package top.xiaoshuaila.pojo;

public class MailConstants {
    //消息投递中
    public static final Integer DELIVERING=0;
    //消息投递成功
    public static final Integer SUCCESS=1;
    //消息投递失败
    public static final Integer FAILURE=2;
    //最大重试次数
    public static final Integer MAX_TRY_COUNT=3;
    //消息超时时间
    public static final Integer MSG_TIMEOUT=1;

    //队列名字
    public static final String QUEUE_NAME="mail.queue";
    //交换机名字
    public static final String EXCHANGE_NAME="mail.exchange";
    //路由名字
    public static final String ROUTING_NAME="mail.routing";

}
